home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dbase / techs.zip / TECH22.ZIP / CUROFF.ASM < prev    next >
Assembly Source File  |  1985-11-01  |  896b  |  35 lines

  1. ; Program ...: Curoff.ASM
  2. ; Author ....: Steve Kurasch and Olivier Biggerstaff
  3. ; Date ......: September 1, 1985
  4. ; Note ......: Turns the cursor off.
  5.  
  6.     .LFCOND            ; List false conditionals.
  7.     PAGE 60,132        ; Page length 60, width 132.
  8.  
  9. COM    EQU     0        ; Assemble as .BIN file
  10. D3    EQU     1        ; for Developer's Release.
  11.         
  12. CODESEG SEGMENT BYTE PUBLIC 'CODE'
  13. CURSOFF PROC    FAR
  14.     ASSUME CS:CODESEG
  15.     IF    COM
  16.        ORG    100H        ; ORG at 100H for .COM file.
  17.     ENDIF
  18. START:  PUSH     AX        ; Save registers.
  19.     PUSH     CX
  20.     MOV    AH,1        ; SET CURSOR TYPE function.
  21.     MOV    CX,0F0FH    ; Cursor specifications in CH
  22.                 ; & CL.
  23.     INT    10H        ; Call ROM BIOS.
  24.     POP    CX        ; Restore register.
  25.     POP    AX
  26.     IF    COM
  27.        INT    20H        ; INT 20H if .COM file.
  28.     ELSE
  29.        RET            ; Far return to dBASE III.
  30.     ENDIF
  31. ;
  32. CURSOFF ENDP
  33. CODESEG ENDS
  34.     END    START
  35.